package com.yy.web.pm.patrol.service.Impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.yy.web.pm.patrol.domain.PeoplePatrolHistory;
import com.yy.web.pm.patrol.mapper.PeoplePatrolHistoryMapper;
import com.yy.web.pm.patrol.service.PeoplePatrolHistoryService;
@Service
public class PeoplePatrolHistoryServiceImpl implements PeoplePatrolHistoryService{

    @Resource
    private PeoplePatrolHistoryMapper peoplePatrolHistoryMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return peoplePatrolHistoryMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(PeoplePatrolHistory record) {
        return peoplePatrolHistoryMapper.insert(record);
    }

    @Override
    public int insertSelective(PeoplePatrolHistory record) {
        return peoplePatrolHistoryMapper.insertSelective(record);
    }

    @Override
    public PeoplePatrolHistory selectByPrimaryKey(Integer id) {
        return peoplePatrolHistoryMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(PeoplePatrolHistory record) {
        return peoplePatrolHistoryMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(PeoplePatrolHistory record) {
        return peoplePatrolHistoryMapper.updateByPrimaryKey(record);
    }

}
